package com.example.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 权限表.
 *
 * @Description  
 * @author ZhiPeng.Lin
 * @Date 2022-02-10 
 */
@Data
@TableName(value ="sys_permission")
public class SysPermission  implements Serializable {

	private static final long serialVersionUID =  3401822445357228925L;

	/**
	 * 主键id.
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 权限code.
	 */
 	@TableField(value = "permission_code")
	private String permissionCode;

	/**
	 * 权限名.
	 */
 	@TableField(value = "permission_name")
	private String permissionName;

}
